package com.wanxi.reflect;

public class GetClass {
    public static void main(String[] args) throws ClassNotFoundException {
//        ctrl+shift+alt+c 复制全限定名
        Class<?> aClass1 = Class.forName("com.wanxi.reflect.Student");
        Class<Student> aClass2 = Student.class;
        Class<? extends Student> aClass3 = new Student().getClass();
        System.out.println(aClass1);
        System.out.println(aClass2);
        System.out.println(aClass3);
    }
}
